<form method="post" action="/oss/?r=server/doChannel">
    <{include file='../common_params.tpl'}>

    <div class="box box-black">
        <div class="box-body">
            <table class="table table-bordered">
                <colgroup>
                    <col style="width: 20%;"></col>
                    <col style="width: 80%;"></col>
                </colgroup>

                
                <input type="hidden" name="server_id" value="<{$id}>" />
                <tr>
                    <th class="th-label">渠道</th>
                    <td>
                    	<{foreach from=$channelList item=item key=key}>  
                        <label><input name="channel_id[]" type="checkbox" class="attach-check simple" value="<{$key}>" <{if in_array($key,$already)}>checked<{/if}>/> <{$item}></label>
                        <br/>
                        <{/foreach}>
                        
                    </td>
                </tr>
                
            </table>
        </div>

        <div class="box-footer">
            <a href="javascript:history.go(-1);" class="btn btn-default">返回</a>
            <button type="submit" class="btn btn-default pull-right">保存</button>
        </div>
    </div>
</form>

<script>
    
</script>